<div ng-controller="CouponCtrl" ng-init="logAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/coupon/list">{{'卡券'| translate}}</a></li>
        <li>{{'领取日志'|translate}}</li>
        <span class="sui-form sui-form pull-right">
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <tr>
            <th>{{'用户信息'|translate}}</th>
            <th>{{'优惠券码'|translate}}</th>
            <th>{{'有效期'|translate}}</th>
            <th>{{'状态'|translate}}</th>
        </tr>
        <tr ng-repeat="list in card_log">
            <td>
                <wxinfo ng-model="list.my_openid" type="1"></wxinfo>
            </td>
            
            <td>{{list.code}}</td>
            <td>
                {{list.begin_time}} 至 {{list.end_time}}
            </td>
            <td>
                <span ng-show="list.consume == 2">已核销</span>
                <button ng-show="list.consume == 1" class="sui-btn btn-primary" ng-click="hexiaoCoupon(list.code,wxappid)">{{'核销'|translate}}</button>
            </td>
        </tr>
    </table>
    <pager page-no="1" page-size="pageSize" total="total_count" get-data="getLogList(card_id,wxappid,pageNo)"></pager>
</div>